import axios from '@/utils/request';
import {SysUser} from "@/model/login";

//登录
export function login(sysUser: SysUser) {
    return axios({
        url: "/user/sysUser/login",
        method: "post",
        data: sysUser,
    });
}

//获取用户信息
export function getSysUserInfo(){
    return axios({
        url: "/user/sysUser/getSysUserInfo",
        method: "get"
    })
}